<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-parament-add">
            <div class="form-group">
                <label class="col-sm-3 control-label">车重：</label>
                <div class="col-sm-8">
                    <input name="carweight" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车长：</label>
                <div class="col-sm-8">
                    <input name="carlength" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车宽：</label>
                <div class="col-sm-8">
                    <input name="carwide" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车高：</label>
                <div class="col-sm-8">
                    <input name="carhigh" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">载客数：</label>
                <div class="col-sm-8">
                    <input name="carnum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">燃料类型：</label>
                <div class="col-sm-8">
                    <select name="fueltype" class="form-control m-b">
                        <option>无</option>
                        <option>混合动力电池</option>
                        <option>燃料电池</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">快充倍率：</label>
                <div class="col-sm-8">
                    <input name="fastmulti" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">驱动方式：</label>
                <div class="col-sm-8">
                    <select name="drivetype" class="form-control m-b">
                        <option>请选择驱动方式</option>
                        <option>传统集中式驱动</option>
                        <option>电机与减速器组合驱动式</option>
                    </select>

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">百公里加速：</label>
                <div class="col-sm-8">
                    <input name="speed" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">纯电续航里程：</label>
                <div class="col-sm-8">
                    <input name="powerkm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">各档位转动比：</label>
                <div class="col-sm-8">
                    <input name="gears" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">最高车速：</label>
                <div class="col-sm-8">
                    <input name="highestkm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">节油率：</label>
                <div class="col-sm-8">
                    <input name="fuel" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">30分钟最高车速：</label>
                <div class="col-sm-8">
                    <input name="thirtykm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">百公里油耗：</label>
                <div class="col-sm-8">
                    <input name="fuelconsume" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">百公里耗电量：</label>
                <div class="col-sm-8">
                    <input name="powerconsume" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">燃料电池额定功率：</label>
                <div class="col-sm-8">
                    <input name="fuelpower" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">燃料电池经济性：</label>
                <div class="col-sm-8">
                    <input name="fuelpowermoney" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/parament"
        $("#form-parament-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-parament-add').serialize());
            }
        }
    </script>
</body>
</html>
